package com.rgs.skywalking.demo.feignClient;

import com.rgs.skywalking.demo.entity.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @program: rgs-study0project
 * @description:
 * @author: Mr.Ren
 * @create: 2024-08-31 23:48
 **/
@FeignClient(value = "skywalking-product")
public interface ProductServiceFeignClient {

    @GetMapping("/product/queryByProductId/{productId}")
    Result queryByProductId(@PathVariable(value = "productId") String productId);

}
